#coding:utf-8
count = 0
while count<10:
    print(count)
    count += 1
else:
    print(666)